package cn.jjxx.modules.pb.service.impl;

import java.util.List;
import cn.jjxx.core.common.service.impl.CommonServiceImpl;
import cn.jjxx.modules.pb.mapper.PbAgeMapper;
import cn.jjxx.modules.pb.entity.PbAge;
import cn.jjxx.modules.pb.service.IPbAgeService;
import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Transactional;

/**   
 * @Title: 年龄分布情况
 * @Description: 年龄分布情况
 * @author TianShixi
 * @date 2021-07-23 15:37:17
 * @version V1.0   
 *
 */
@Transactional
@Service("pbAgeService")
public class PbAgeServiceImpl  extends CommonServiceImpl<PbAgeMapper,PbAge> implements  IPbAgeService {

	@Override
	public boolean insertBatch(List<PbAge> list) {
		if(list!=null&&list.size()>0){
			return baseMapper.insertBatch(list);
		}
		return true;
	}

	@Override
	public boolean updateBatch(List<PbAge> list) {
		if(list!=null&&list.size()>0){
			return baseMapper.updateBatch(list);
		}
		return true;
	}
}
